package com.miniot.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
* 出入库管理表
*
* @author zzq
* @date 2023-10-17 11:13:54
*/
@Data
//@Builder
@TableName("bound_manage")
@ApiModel(description = "出入库管理表")
@NoArgsConstructor
@AllArgsConstructor
public class BoundManage extends BaseEntity<Long> {
    private static final long serialVersionUID = 1L;
    /** 出入库名称 */
    @ApiModelProperty(value = "出入库名称")
    private String warehouseName;
    /** 出入库id */
    @ApiModelProperty(value = "出入库id")
    private Long warehouseId;
    /** 收货人名称 */
    @ApiModelProperty(value = "收货人名称")
    private String consignee;
    /** 收货人id */
    @ApiModelProperty(value = "收货人id")
    private Long consigneeId;
    /** 入库类型 */
    @ApiModelProperty(value = "入库类型")
    private String typeName;

    /** 出入库类型 1出库 2入库 */
    @ApiModelProperty(value = "出入库类型 1出库 2入库")
    private Integer boundType;

    @ApiModelProperty(value = "总计数量")
    private BigDecimal total;

    @ApiModelProperty(value = "总计金额")
    private BigDecimal amount;
    /** 自增号 */
    @ApiModelProperty(value = "自增号")
    private Integer num;
    /** 出入库单号 */
    @ApiModelProperty(value = "出入库单号")
    private String orderNum;
    /** 操作时间 */
    @ApiModelProperty(value = "操作时间")
    private Date operationTime;

}
